<div class="form">
    
<?php echo $form; ?>
    <?php 
    if ($loginStatus == BUserIdentity::ERROR_USERNAME_INVALID ||
            $loginStatus == BUserIdentity::ERROR_PASSWORD_INVALID) {
        echo "<div class='op-alert'><font color='#FF0000'>".Yii::t('site', 'Invalid Username or Password')."</font></div><div id='dialog-mask'></div>";
    }
    else if ($loginStatus == BUserIdentity::ERROR_UNKNOWN_IDENTITY ) {
        echo "<div class='op-alert'><font color='#FF0000'>".Yii::t('site', 'Unknown Identity').".</font></div><div id='dialog-mask'></div>";
    }
    
    echo "<div class='op-alert'><font color='#FF0000'>*</font><a href=?action=openid>".Yii::t('site',  'Login with Google Account').".</a> </div>";
    
//    echo '<a href='.'http://localhost/billyn-dev/index.php?action=openid'.'>Login with Google</a>';
//    $this->widget('application.extensions.openidProviders.openidProviders', 
//    array ( 'options' => array ( 'lang' => 'en', 
//    //      'demo' => 'js:true',
//        'cookie_expires' => 6*30,
//        )));
    ?>
</div>
 
